/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ias.springnote.db;

import com.springnote.api.PageType;
import org.json.JSONObject;

/**
 *
 * @author ias
 */
public class Document {

  private PageType page;
  private JSONObject object;
  
  public Document() {
    object = new JSONObject();
  }

  Document(PageType page, JSONObject object) {
    this.page = page;
    this.object = object;
  }

  PageType getPage() {
    return page;
  }

  public JSONObject getObject() {
    return object;
  }

}
